package tw.edu.tku.im.maze;

import org.json.JSONException;
import org.json.JSONObject;

public class RoomListReq extends ReqPacket {

   public String toJSONString() throws JSONException {
      JSONObject jsonObj = new JSONObject();
      jsonObj.put("action", "roomList");
      return jsonObj.toString();
   }

   @Override
   public String getPacketName() {
      return "roomList";
   }

}
